package cn.fanqinghong.ymcc.vo;

import cn.fanqinghong.ymcc.result.PageList;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * FAN
 * 2022/7/27  10:30
 */
@Data
@NoArgsConstructor
public class AggrPageList<T> extends PageList<T> {
    private Map<String,List<AggrsBucket>> aggResult = new HashMap<>();

    public AggrPageList(Long total, List<T> rows, Map<String, List<AggrsBucket>> aggResult) {
        super(total, rows);
        this.aggResult = aggResult;
    }
}
